package com.gb.demand.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author shenzhiwen
 * @since 2020-03-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wemall_user")
@ApiModel(value="user对象", description="")
public class User extends Model<User> implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "添加时间")
    @TableField("addTime")
    private Date addTime;

    @TableField("deleteStatus")
    private Boolean deleteStatus;

    @TableField("MSN")
    private String MSN;

    @TableField("QQ")
    private String QQ;

    @TableField("WW")
    private String WW;

    private String address;

    @TableField("availableBalance")
    private BigDecimal availableBalance;

    private Date birthday;

    private String email;

    @TableField("freezeBlance")
    private BigDecimal freezeBlance;

    private Integer gold;

    private Integer integral;

    @TableField("lastLoginDate")
    private Date lastLoginDate;

    @TableField("lastLoginIp")
    private String lastLoginIp;

    @TableField("loginCount")
    private Integer loginCount;

    @TableField("loginDate")
    private Date loginDate;

    @TableField("loginIp")
    private String loginIp;

    private String mobile;

    private String password;

    private Integer report;

    private Integer sex;

    private Integer status;

    private String telephone;

    @TableField("trueName")
    private String trueName;

    @TableField("userName")
    private String userName;

    @TableField("userRole")
    private String userRole;

    private Integer userCredit;

    private Integer photoId;

    private Integer storeId;

    private Integer departmentId;

    private String qqOpenid;

    private String sinaOpenid;

    private String storeQuickMenu;

    private Integer parentId;

    private Integer years;

    private Integer areaId;

    private Integer storeId2;

    @TableField("userType")
    private String userType;

    private String jdinvoiceClientId;

    private String jdinvoiceClientSecret;

    private String jdinvoiceUsername;

    private String jdinvoicePassword;

    private String invoicingCompanyName;

    private String invoicingDutyParagraph;

    private String invoicingAddress;

    private String invoicingTel;

    private String invoicingOpenbank;

    private String agencyCode;

}
